import Layout from '@/views/layout/index.vue'
export default {
    path: '/contract',
    component: Layout,
    redirect: '/contract',
    meta: {
        title: '合同管理',
        icon: 'Document'
    },
    children: [{
            path: '/contract',
            component: () =>
                import ('@/views/contract/index.vue'),
            meta: { title: '合同管理' },
            name: ''
        },
        {
            path: '/details/:id?',
            component: () =>
                import ('@/views/contract/ContractDetails.vue'),
            meta: { title: '合同详情' },
            name: '',
            hidden: true
        }
    ]
}